package com.zte.claa.inficombo.csa.app.model.app;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

public class CSConnState {
	private static final String DTFormat = "yyyy-MM-dd HH:mm:ss";
	private static final String TIME_ZONE = "GMT+8";
	
	private String appEUI;
	private String csifIp;
	private int csifPort;
	
	@JsonFormat(pattern=DTFormat, timezone = TIME_ZONE)
	private Timestamp rptTime;
	
	public CSConnState(){
		this.rptTime = new Timestamp(System.currentTimeMillis());
	}

	public Timestamp getRptTime() {
		return rptTime;
	}

	public void setRptTime(Timestamp rptTime) {
		this.rptTime = rptTime;
	}

	public String getAppEUI() {
		return appEUI;
	}

	public void setAppEUI(String appEUI) {
		this.appEUI = appEUI;
	}

	public String getCsifIp() {
		return csifIp;
	}

	public void setCsifIp(String csifIp) {
		this.csifIp = csifIp;
	}

	public int getCsifPort() {
		return csifPort;
	}

	public void setCsifPort(int csifPort) {
		this.csifPort = csifPort;
	}
	
}
